<div id="main">
    <div id="contents">
        <form method="post" action="#" name="filters">
            <div class="frame_tab_layer" style="padding-left:25px;padding-top:5px;">
                <table class="cmenutitle" cellspacing="0" cellpadding="0" border="0" width="100%">
                    <tbody>
                    <tr>
                        <td id="linetype" class="frame_tab_phone" colspan="2">
                            <div class="line_position">
                                <input class="line_button" type="button" value="LINE" name="line">
                            </div>
                        </td>
                    </tr>
                    </tbody>
                </table>
            </div>
            <fieldset>
                <legend>LINE</legend>
                <div class="frame_tab_layer">
                    <table class="cmenutitle" cellspacing="0" cellpadding="0" border="0" width="100%">
                        <tbody>
                        <tr>
                            <td class="frame_tab_left">
                                <label for="id448">
                                    <label sid="trunk.prdet"></label>
                                </label>
                            </td>
                            <td class="frame_tab_right">
                                <input id="id448" type="checkbox" name="id448">
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </fieldset>
            <div class="submitFooter">
                <input class="button" type="button" sid="sbutton.save" name="submit">
                <input class="button" type="button" sid="ivr_menu.basic" name="extension_stat" id="basic_button">
            </div>
        </form>
    </div>
</div>
<br>
<div id="helpContainer">
    <div id="help">
        <div>
            <h2>
                <label sid="share.help"></label>
            </h2>
        </div>
        <div id="helpBody">
        <dl>

            <dt class="term">
                <label sid="trunk.prdet"></label>
            </dt>
            <dd class="definition">
                <label sid="trunk.prdetTip"></label>
            </dd>
        </dl>
        </div>
    </div>
</div>
<script type="text/javascript" src="js/getSelectList.js"></script>
<script type="text/javascript">
    $(document).ready(function(){
        var sendtext = "&id=4001";
        getSelectList(sendtext);

        var line_id=getCookie("line_id");
        getLinePage(line_id);
        $("[name=submit]").click(function () {
            $(".errormsg").html('');
            var nonames = new Array("line","submit","extension_batch","extension_stat","add_extension","ip_extension_batch","ip_extension_stat","id366","id584","id469");
            var settext = "&line_id="+getCookie("line_id");
            settext += getSetText(nonames);
            settext=settext.replace(/\#/g,"%23");
            submitform(modules["set_data"],settext);
        });

        $("#basic_button").bind("click",function(){
            loadNewHtml("trunk_main_load.htm");
        });
    });

	
</script>

